package com.lkl.project.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lkl.longapicommon.model.entity.UserInterfaceInfo;

import java.util.List;

/**
* @author 20662
* @description 针对表【user_interface_info(用户调用接口关系)】的数据库操作Mapper
* @createDate 2023-11-22 19:35:18
* @Entity com.lkl.project.model.entity.UserInterfaceInfo
*/
public interface UserInterfaceInfoMapper extends BaseMapper<UserInterfaceInfo> {
//    select interfaceInfoId,sum(totalNum) as totalNum
//    from user_interface_info
//    group by interfaceInfoId
//    order by totalNum desc
//    limit 3;
    //查询用户接口信息表，按照指定的limit参数进行筛选
    //返回前limit条记录的接口信息列表
    List<UserInterfaceInfo> listTopInvokeInterfaceInfo(int limit);
}




